const materialSearchV2 = {
    uri: '/material-center/search/v2',
    method: 'post',
    queries: null,
    data: {
      materialType: false,
      materialSubType: false,
      pageIndex: true,
      pageSize: false,
      materialIds: false,
      materialStatus: false // 素材状态（不传时查所有状态）：usable 可用(APP端暂时只查询可用状态素材)，transcoding 转码中，failed 转码失败
    },
    options: {
        allowDupRequest: true // 允许重复请求
    }
}

const getMaterialUploadToken = {
    uri: '/material-center/new/material/getUploadToken',
    method: 'get',
    queries: null,
    data: null
}

const publishMaterial = {
    uri: '/material-center/new/material/publish',
    method: 'post',
    queries: null,
    data: {
      materialFullName: true,
      materialHash: true,
      materialSize: false,
      materialUrl: true
    }
}





export default {
    materialSearchV2,
    getMaterialUploadToken,
    publishMaterial
}
